//
//  UIView+TransitionAnimation.h
//  ModelViewControllerAnimation
//
//  Created by YSC on 15/10/8.
//  Copyright (c) 2015年 YSC. All rights reserved.
//

#import <UIKit/UIKit.h>

//动画枚举
typedef enum : NSUInteger {
    TransitionPageCurl,
    TransitionPageUnCurl,
    TransitionRippleEffect,
    TransitionSuckEffect,
    TransitionCube,
    TransitionOglFlip
} TransitionType;

//动画方向
typedef enum : NSUInteger {
    FROM_LEFT,
    FROM_RIGHT,
    FROM_TOP,
    FROM_BOTTOM
} TransitionToward;


@interface UIView(TransitionAnimation)

- (void)addTransitionAnimationWithDuration:(CGFloat)duration type:(NSInteger)type subType:(NSInteger)subType;

@end
